package br.usp.ime.dojo.core.repositories;

import java.util.Set;

public interface ChatRepository {
	void createChatRoom(String room);
	
	void updateUser(String name,String room);
	void addUser(String name,String room);
	void removeUser(String name,String room);
	boolean containsUser(String name,String room);
	int getPositionUser(String name,String room);
	Set<String> getUsers(String room);
	
	
	void addMessage(String name,String room, String message);
	String updateMessages(int position,String room);

	void clearAll();
}
